<div class=page_head>
<h2>Editing payment</h2>
</div>

<%= error_messages_for :payment %>

<% form_for(:payment, :url => payment_path(@payment), :html => { :method => :put }) do |f| %>
  <p>
    <b>Company</b><br />
    <%= f.text_field :company_id %>
  </p>

  <p>
    <b>Created at</b><br />
    <%= f.datetime_select :created_at %>
  </p>

  <p>
    <b>Amount</b><br />
    <%= f.text_field :amount %>
  </p>

  <p>
    <%= submit_tag "Update" %>
  </p>
<% end %>

<%= link_to 'Show', payment_path(@payment) %> |
<%= link_to 'Back', payments_path %>
